package com.example.summer_pro.dao;

import com.example.summer_pro.entity.Normal;
import com.example.summer_pro.entity.NormalsJSON;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface NormalDao {
    public void addNewNormal(Normal normal);
    public void updateNormal(Normal normal);
    public void deleteNormal(Normal normal);
    public void deleteAllNormal(Integer q_id);
    public Normal selectNormal(Integer q_id,Integer t_id);
    public void addJson(Integer q_id,String json);
    public void deleteJson(Integer q_id);
    public NormalsJSON selectJson(Integer q_id);
    public void addJsonContent(Integer q_id,String json);
}
